﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
     
    <script src="../../../lib/jquery/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="../../../lib/ligerUI/js/core/base.js" type="text/javascript"></script> 
    <script src="../../../lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="../../../lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
    <script src="../../../lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
    <script src="../CustomersData.js" type="text/javascript"></script>
    <script type="text/javascript">
        var g;
        $(function ()
        {
            g = $("#maingrid4").ligerGrid({
                columns: [
                { display: '主键', name: 'CustomerID', align: 'left' },
                { display: '公司名', name: 'CompanyName', minWidth: 60 },
                { display: '联系名1', name: 'ContactName', width: 111, align: 'left'  },
                { display: '联系名2', name: 'ContactName', align: 'left' },
                { display: '联系名3', name: 'ContactName', align: 'left' },
                { display: '联系名4', name: 'ContactName', align: 'left', frozen: true },
                { display: '联系名3', name: 'ContactName', align: 'left' }, 
                { display: '联系名4', name: 'ContactName', align: 'left', frozen: true },
                { display: '城市', name: 'City', width: 200 }
                ], data: CustomersData, pageSize: 20, sortName: 'CustomerID',
                width: 800, height: '98%', checkbox: true, rownumbers: true,
                fixedCellHeight: false
            });
            $("#pageloading").hide();
        });
    </script>
</head>
<body style="padding: 4px; overflow: hidden;">
    <div class="l-loading" style="display: block" id="pageloading">
    </div> 
    <div id="maingrid4" style="margin: 0; padding: 0">
    </div>
    <div style="display: none;">
    </div>
</body>
</html>
